#ifndef PASSWDDIALOG_H
#define PASSWDDIALOG_H

#include <QEvent>
#include <QHBoxLayout>
#include <QLabel>
#include <QLineEdit>
#include <QWidget>

class PasswdDialog : public QWidget
{
    Q_OBJECT
public:
    explicit PasswdDialog(QWidget *parent = 0);
    QString text() const;
    QString setText(QString s);
    void clear();
    QLineEdit *lineEdit;
    QLabel * pngLabel;
protected:
    bool eventFilter(QObject *watched, QEvent *event);
signals:
    void alterEidt();
};

#endif // PASSWDDIALOG_H
